package org.example.websockettest.service.interfaces;

import java.util.Set;

public interface RedisService {

    void addUser(String username);

    void removeUser(String username);

    Set<Object> getOnlineUsers();

    long getOnlineUserCount();

    boolean isUserOnline(String username);

    void clearOnlineUsers();
}
